Skip to main content

tool

Type

function

Summary

Returns the name of the currently chosen tool.

Syntax

the tool
tool()

Description

Use the tool function to find out which tool is currently selected.

The tool names are the same as the names used with the choose command to select a tool for use.

Examples

the tool
if the tool is not "browse tool" then choose browse tool

command: choose

control structure: function

function: tool

glossary: command, return

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?